﻿#include "includes\\InputStructures.fx"
#include "includes\\StateDefinitions.fx"

texture2D xMessageTexture;
float xMessageAlpha;


PsInput_PT MessageVS(VsInput_PT input) 
{
	PsInput_PT output = (PsInput_PT)0;
    output.ScreenPos = input.Pos;
    output.UV = input.UV;
    return output;
}


float4 MessagePS(PsInput_PT input) : SV_TARGET 
{
    float4 color = xMessageTexture.Sample(PlanarSampler, input.UV);
	color.a *= xMessageAlpha;
    return color;
}

